package com.diankangwo.factory.entity;

import java.util.Date;

public class TdShoppingcart {
    private Integer id;

    /**
     * 商品ID
     */
    private Integer commodityid;
    /**
     * 选择属性
     */
    private String selected;
    /**
     * 用户ID
     */
    private Integer userid;
    /**
     * 用户cookID
     */
    private int usercookid;
    /**
     * 用户IP
     */
    private String userip;
    /**
     * 商品名称
     */
    private String commodityname;
    /**
     * 购物时间
     */
    private Date shoppingtime;
    /**
     * 是否审核
     */
    private Boolean shoppingcheck;
    /**
     * 购买数量
     */
    private int commoditynumber;
    /**
     * 商品VIP价
     */
    private float commoditypricevip = 0F;
    /**
     * 商品优惠价
     */
    private float commoditypriceuser = 0F;
    /**
     * 商品市场价
     */
    private float commoditypriceshop = 0F;
    /**
     * 状态：0：购物车状态 1：订单状态
     */
    private int status = 0;

    /**
     * 商品图片
     */
    private String commoditypic;

    /**
     * 运费
     */
    private float freight = 0;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public String getCommodityname() {
        return commodityname;
    }

    public void setCommodityname(String commodityname) {
        this.commodityname = commodityname == null ? null : commodityname.trim();
    }

    public Integer getCommoditynumber() {
        return commoditynumber;
    }

    public void setCommoditynumber(Integer commoditynumber) {
        this.commoditynumber = commoditynumber;
    }

    public float getCommoditypriceshop() {
        return commoditypriceshop;
    }

    public void setCommoditypriceshop(float commoditypriceshop) {
        this.commoditypriceshop = commoditypriceshop;
    }

    public float getCommoditypriceuser() {
        return commoditypriceuser;
    }

    public void setCommoditypriceuser(float commoditypriceuser) {
        this.commoditypriceuser = commoditypriceuser;
    }

    public Boolean getShoppingcheck() {
        return shoppingcheck;
    }

    public void setShoppingcheck(Boolean shoppingcheck) {
        this.shoppingcheck = shoppingcheck;
    }

    public Date getShoppingtime() {
        return shoppingtime;
    }

    public void setShoppingtime(Date shoppingtime) {
        this.shoppingtime = shoppingtime;
    }

    public Integer getUsercookid() {
        return usercookid;
    }

    public void setUsercookid(Integer usercookid) {
        this.usercookid = usercookid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUserip() {
        return userip;
    }

    public void setUserip(String userip) {
        this.userip = userip == null ? null : userip.trim();
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }

    public void setUsercookid(int usercookid) {
        this.usercookid = usercookid;
    }

    public void setCommoditynumber(int commoditynumber) {
        this.commoditynumber = commoditynumber;
    }

    public float getCommoditypricevip() {
        return commoditypricevip;
    }

    public void setCommoditypricevip(float commoditypricevip) {
        this.commoditypricevip = commoditypricevip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCommoditypic() {
        return commoditypic;
    }

    public void setCommoditypic(String commoditypic) {
        this.commoditypic = commoditypic;
    }

    public float getFreight() {
        return freight;
    }

    public void setFreight(float freight) {
        this.freight = freight;
    }
}